<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_>
<script language=Javascript><!--
	function editNewssource() {
        var f= document.forms[0];
        f.s.value= "Newssource.Edit";
        f.o.value= f.FK_NEWSSOURCE_ID.options[f.FK_NEWSSOURCE_ID.selectedIndex].value;
        f.submit();		
	}
//-->
</script>
<h2 class="contentTitle">Edit News</h2>
<div class="contentBody">
<fieldset>
<div class="instructions"><h4>Instructions for Adding News Stories</h4>
<p>WiganWarriorsFans.com maintains a database of stories associated with the club.  Each story is either written by users of the site or is a cached copy of a story taken from another site.  To add news to the WiganWarriorsFans.com database you should fill in the form on this page.  Your story will then appear on the News section of the site.</p>
<p>Please ensure that the story you are entering does not already exist on the site.  <b>You must check the <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=News">news page</a> before you post a story using this page</b>.  Duplicate stories will be removed and any user repeatedly duplicating information will have their posting permissions removed.</p>
<p>If you are writing your own story, please ensure that you include only facts, not opinions or rumours and use good English.  Do not use a conversational tone, write your piece as if you were a newpaper or web journalist.  Any user submissions that do not meet these guidelines will be removed by the site's moderators.  You do not need to fill in the Source, URL or Author fields of the form if you are writing your own news story.</p>
<p>If you are adding news that you have found on another internet site, you must fill in the Source and the URL fields of the form.  Failure to do this will lead to your story being removed from this site.  This restriction is for copyright reasons.</p>
<p>Please ensure that you highlight any other news stories or matches that are related to the story you are adding.  This allows the site to display relevant content next to the story you have entered.</p></div>

<table class="contentTable">
<tr>
<td class="label">Source:</td>
<td><select name="FK_NEWSSOURCE_ID">
<option value="">Please Select...</option>
<TMPL_VAR NAME=NEWSSOURCE_NEWSSOURCE_OPTIONS>
</select><br>
<input type=button value="Edit" onclick="javascript:editNewssource();" class="button">
<input type=button value="Add News Source" onclick="javascript:addObject('NEWSSOURCE','');" class="button"> <a href="javascript:help('Offsite.News');" class="button">What are News Sources?</a><br />
<small>For copyright reasons you <b>must</b> attribute news stories from other internet sites to their site of origin.  If you do not see the site you are looking for in the drop down list, click the "Add News Source" button to register the source of you story in the WiganWarriorsFans.com database.  If you are writing your own news story you need not fill in this field.</small></td>
</tr>
<tr>
<td class="label">URL:</td>
<td><input type=text name="NEWS_URL" size=80 value="<TMPL_VAR NAME=NEWS_URL ESCAPE=HTML>"><br/>
<input type=button value="Grab URL" onclick="javascript:jumpto('NEWS.Edit.GrabURL',['ns'],['NEWS.Edit']);" class="button"> <a href="javascript:help('Offsite.News');">What is a news URL?</a>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_NEWS_URL_><br>
<small>For copyright reasons you <b>must</b> attribute news stories from other internet sites to their original URL. Copy the enitre address of the original story from the address bar of your browser and paste it into this field.  Offsite news that is not associated with its original URL will be removed from WiganWarriorsFans.com.  If you are writing your own news story you need not fill in this field.</small></td>
</tr>
<tr>
<td class="label">Author:</td>
<td><input type=text name="NEWS_AUTHOR" value="<TMPL_VAR NAME=NEWS_AUTHOR ESCAPE=HTML>" size=80>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_NEWS_AUTHOR_><br>
<small>For copyright reasons you <b>must</b> attribute news stories from other internet sites to their original author.  Enter the name of the original author of the story, if it is stated on the other site.  If you are entering your own story, you need not fill in this field.</small></td>
</tr>
<tr>
<td class="label">Title:</td>
<td><input type=text name="NEWS_TITLE" value="<TMPL_VAR NAME=NEWS_TITLE ESCAPE=HTML>" size=80>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_NEWS_TITLE_><br>
<small>Enter the title of the news story</small></td>
</tr>
<tr>
<td class="label">Body:</td>
<td><textarea rows=15 cols=80 name="NEWS_BODY"><TMPL_VAR NAME=NEWS_BODY ESCAPE=HTML></textarea>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_NEWS_BODY_><br>
<small>The main text of the story.  HTML tags can be included but are optional.  If taking the story from another site it is possible to highlight the text of the story in your browser, copy the text and paste it into the above text box.</small></td>
</tr>
<tr>
<td class="label">Type:</td>
<td><select name="NEWS_TYPE"><TMPL_VAR NAME=NEWS_TYPE_OPTIONS></select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_NEWS_TYPE_><br>
<small>A type classification for the story.  Select the most appropraite type for the story to be indexed under.</small></td>
</tr>

        <tr>
        <th colspan=2>Related Content</td>
        </tr>
<tr>
<td class="label">Related News:</td>
<td><select name="RELATED_NEWS" multiple size=7>
<TMPL_VAR NAME=RELATED_OPTIONS_NEWS>
</select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_RELATED_NEWS_><br>
<small>Please select other news that is related to this story.  Select multiple matches by holding the Control key and clicking on the entry. Deselect using the same procedure.</small></td>
</tr>
<tr>
<td class="label">Related Matches:</td>
<td><select name="RELATED_MATCHSTATS" multiple size=5>
<TMPL_VAR NAME=RELATED_OPTIONS_MATCHSTATS>
</select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_RELATED_MATCHSTATS_><br>
<small>Please select matches that are related to this story.  Select multiple matches by holding the Control key and clicking on the entry.    Deselect using the same procedure.</small></td>
</tr>
</table>
<div class=submit>
<input type=button onClick="updateObject('NEWS','<TMPL_VAR NAME=o>','<TMPL_VAR NAME=p>');" value="Update News &raquo;" class="submit"> 
<input type=hidden name="NEWS_FULLPAGE" value="<TMPL_VAR NAME=NEWS_FULLPAGE>">
</div>
</fieldset>
</div>

<TMPL_VAR NAME=OBJECT_WIKI_HTML>

<TMPL_VAR NAME=OBJECT_MODERATOR_HTML>

<TMPL_VAR NAME=OBJECT_ADMIN_HTML>

<TMPL_VAR NAME=OBJECT_SUPERADMIN_HTML>

<TMPL_VAR NAME=OBJECTS> 